#ifndef SETTINGSPAGE_H
#define SETTINGSPAGE_H

#include <QtGui/QWidget>
#include <QDir>
#include "ui_settingspage.h"

class settingspage : public QWidget
{
    Q_OBJECT

public:
    settingspage(QWidget *parent = 0);
    ~settingspage();
    
public slots:
    int AddNewPaper();
    int DeleteSelPaper();
    int AddNewFormat();
    int DeleteSelFormat();
    int SavePrinter();
    int DeleteSelPrinter();
    void SelectPrinter(QTableWidgetItem*);
    void SavePersonalInfo();
    
private:
    Ui::settingspageClass ui;
    QList<QDir> dir;
};

#endif // SETTINGSPAGE_H
